<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: #fff;
}

/* 防止页面左右滑动 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: #fff;
  min-height: 100vh;
}

/* 重置一些基础样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 移动端点击高亮 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 列表样式重置 */
ul, li {
  list-style: none;
}

/* 链接样式重置 */
a {
  text-decoration: none;
  color: inherit;
}
</style>
